home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
misc
/
emu
/
ATUtilities.lha
/
ATUtilities
/
ATKeyboard.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-09-26
|
3KB
|
156 lines
/* ******************************************************************* */
/* ** ** */
/* ** ATKeyboard Version 4.0 ** */
/* ** Copright (C) 1992-1994 by Thomas Dreibholz ** */
/* ** All rights reserved ** */
/* ** ** */
/* ** Struktur-Definitionen ** */
/* ** ** */
/* ******************************************************************* */
/* #define SHAREWARE */
/* #define DEMO */
#ifndef EXTERN
#define EXTERN extern
#endif
struct Einstellungen
{
UBYTE Uebertragungsrate;
BYTE Prioritaet;
UBYTE Tastenfilter;
UBYTE Tastenruecknahme;
UBYTE Tastenwiederholung;
UBYTE WarteAufInt;
UBYTE IntFreigabe;
UBYTE TastaturmodusSichern;
UBYTE Tastaturmodus;
UBYTE SichernBeiEnde;
UBYTE ARexxName[50];
UBYTE ARexxIO;
UBYTE TimeService;
UBYTE Uhr;
UBYTE AutoStart;
UBYTE LPT1Verwaltung;
UBYTE LPT1Name[128];
UBYTE Kontrollfenster;
UWORD Leerungszeit;
ULONG Puffergroesse;
UBYTE Umlenkung;
UBYTE LED;
UBYTE A2286;
UBYTE M68881;
UBYTE M68020;
UBYTE DataCache;
UBYTE Bildschirmschoner;
UWORD GrafikGeschwindigkeit;
UBYTE FarbrollGeschwindigkeit;
BYTE FarbrollPrioritaet;
BYTE SchonerPrioritaet;
UBYTE SystemPAL;
UBYTE Gfx[16];
UBYTE Maus;
UBYTE HiFiPlayerNum;
UWORD HiFiPlayerWait;
UBYTE HiFiPlayerWaitActive;
UBYTE HiFiPlayerAutoStart;
UBYTE HiFiPlayerARexx;
UBYTE Speak;
UWORD SpeakRate;
UWORD SpeakPitch;
UWORD SpeakMode;
UWORD SpeakSex;
UWORD SpeakVolume;
UWORD SpeakFreq;
UBYTE ATStatus;
UBYTE pad;
};
struct FTasten
{
UBYTE FTasten[10][49];
UBYTE FTastenKommentar[10][25];
UBYTE FTastenShift[10][49];
UBYTE FTastenShiftKommentar[10][25];
UBYTE FTastenCtrl[10][49];
UBYTE FTastenCtrlKommentar[10][25];
UBYTE FTastenShiftCtrl[10][49];
UBYTE FTastenShiftCtrlKommentar[10][25];
};
struct KeyTab
{
UBYTE Keys[256];
UBYTE Name[32];
UWORD Valid;
struct FTasten FTasten;
};
struct KeyCodes
{
struct KeyTab KeyTab[8];
};
#define BIT7 (1L<<7)
struct SHelp
{
APTR A;
APTR B;
};
struct SystemTime
{
struct DateStamp DateStamp;
ULONG OldDays;
ULONG DayNum;
ULONG Year;
ULONG Month;
ULONG Day;
ULONG Hours;
ULONG Minutes;
ULONG Seconds;
};
EXTERN UBYTE *Copyright[];
#define YES 1L
#define NO 0L
struct ATStatus
{
UBYTE Status;
UBYTE ExtStatus;
UBYTE Valid;
UBYTE pad;
};
#define STATUS_RSHIFT (1L<<0)
#define STATUS_LSHIFT (1L<<1)
#define STATUS_CTRL (1L<<2)
#define STATUS_ALT (1L<<3)
#define STATUS_SCROLL (1L<<4)
#define STATUS_NUM (1L<<5)
#define STATUS_CAPS (1L<<6)
#define STATUS_INSERT (1L<<7)
#define EXTSTATUS_CONTROL_DOWN (1L<<0)
#define EXTSTATUS_ALT_DOWN (1L<<1)
#define EXTSTATUS_SYSREQ_DOWN (1L<<2)
#define EXTSTATUS_PAUSE_DOWN (1L<<3)
#define EXTSTATUS_BREAK_DOWN (1L<<4)
#define EXTSTATUS_NUM_DOWN (1L<<5)
#define EXTSTATUS_CAPS_DOWN (1L<<6)
#define EXTSTATUS_INSERT_DOWN (1L<<7)